/*
 *  Copyright 2012 Anyware Services
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

/* Print */

@charset "UTF-8";
@import url('fonts.css') screen;

/*
 *  Copyright 2012 Anyware Services
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

/* CSS Pour Impression */

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
	
	/* @group Général */

	body {
		background: none !important;
		color:#000000!important;
	}
	
	a, a:link, a:visited,
	h1, h2, h3, h4, h5
	{
		color:#000000!important;
		text-align:left!important;
	}
	
	#logo img{ max-width: 25% !important; }
	
	.ametys-cms-content img {
	    margin: 0;
	    max-width:100%;
	}
	
	#page-wai-links,
	#header_top,
	#burger_acces, #recherche_acces,
	#recherche, #menu_acces,
	.nav,
	.header-img,
	.breadcrumb,
	.share,
	.footer,
	.link,
	.center-wrap,
	.carousel-pagination,
	#ametys-cms-zone-button
	{
		display: none !important;
	}
	
	a[href]:after {
	  content: " (" attr(href) ")"; /* affichage des URL des liens */
	  word-wrap: break-word;
	  -ms-word-wrap: break-word;
	  word-break: break-all;
	  -ms-word-break: break-all;
	  white-space: normal; 
	  text-transform:none;
	  font-weight:normal;
	}
	
	a[href*=javascript]:after,
	a.ui-tabs-anchor:after{
		display:none!important;
	}
	
	a.pirobox[href]:after
	{
		display:none;
	}
	
	.tab.ui-state-default{
		display:none!important;
	}
	
	.tab.ui-tabs-active.ui-state-active{
		display:block!important;
		padding:0;
		margin:0;
	}
	
	.tab.ui-tabs-active.ui-state-active a,
	.tab.ui-tabs-active.ui-state-active span{
		padding:0!important;
		border-width:0!important;
	}
	
	ul.ui-tabs-nav
	{
		padding:0;
		margin:0;
	}

	h1, h2, h3, caption, h1.service-title {
	  page-break-after: avoid; /* pas de saut après ces éléments */
	}
	
	blockquote, ul, ol, li {
	  page-break-inside: avoid; /* pas de coupure dans ces élements */
	}
	
	#header ul,
	.ametys-cms-service ul,
	.ametys-cms-service ul li{
		page-break-inside: auto!important;
	}
	
	p, blockquote {
	  orphans: 3; /* pas de ligne seule en bas */
	  widows: 3; /* pas de ligne seule en haut */
	}
	
	.carousel-wrap,
	.carousel-wrap ul li{
		height:auto!important;
	}
	
	.carousel-wrap ul,
	.carousel-contents .carousel-container.js .carouselDetails, 
	.carousel-contents .carousel-container .carouselDetails div,
	.carousel-contents .carousel-container .carousel-wrap ul,
	.carousel-contents .carousel-container .carousel-wrap ul li
	{	position:static!important;
		visibility: visible!important;
		opacity:1!important;
		list-style-type:none;
		margin:0;
		padding:0;
	}
	
	.carousel-contents .carousel-container.js .carouselDetails *{
		text-align:left!important;
	}
	
}

